import request from '@/utils/request'

// 查询美容保养订单列表
export function listBeautymaintenanceorders(query) {
  return request({
    url: '/car/beautymaintenanceorders/list',
    method: 'get',
    params: query
  })
}

// 查询美容保养订单详细
export function getBeautymaintenanceorders(OrderID) {
  return request({
    url: '/car/beautymaintenanceorders/' + OrderID,
    method: 'get'
  })
}

// 新增美容保养订单
export function addBeautymaintenanceorders(data) {
  return request({
    url: '/car/beautymaintenanceorders',
    method: 'post',
    data: data
  })
}

// 修改美容保养订单
export function updateBeautymaintenanceorders(data) {
  return request({
    url: '/car/beautymaintenanceorders',
    method: 'put',
    data: data
  })
}

// 删除美容保养订单
export function delBeautymaintenanceorders(OrderID) {
  return request({
    url: '/car/beautymaintenanceorders/' + OrderID,
    method: 'delete'
  })
}
